Controlling systems with motor drives using pulse width modulation

ABSTRACT

A system includes an electronic power converter and a controller. The electronic power converter supplies power to one or more motor drives of an HVAC system. The controller obtains a plurality of pulse width modulation (PWM) algorithms. Each PWM algorithm has an associated spectrum of frequencies. The controller further determines one or more resonance frequencies associated with the HVAC system. The controller also selects a first PWM algorithm from the plurality of PWM algorithms wherein the spectrum of frequencies of the first PWM algorithm lacks frequency peaks that overlap with the one or more resonance frequencies associated with the HVAC system. The controller further operates the electronic power converter according to the first PWM algorithm.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. Pat. Application No.17/360,012 filed Jun. 28, 2021, and entitled “CONTROLLING SYSTEMS WITHMOTOR DRIVES USING PULSE WIDTH MODULATION,” which is a continuation ofU.S. Pat. Application No. 16/901,766 filed Jun. 15, 2020, and entitled“CONTROLLING SYSTEMS WITH MOTOR DRIVES USING PULSE WIDTH MODULATION,”now U.S. Pat. No. 11,079,151, issued Aug. 3, 2021, which is a divisionalof U.S. Pat. Application No. 15/619,659 filed Jun. 12, 2017, andentitled “CONTROLLING SYSTEMS WITH MOTOR DRIVES USING PULSE WIDTHMODULATION,” now U.S. Pat. No. 10,731,907 issued Aug. 4, 2020, which areincorporated herein by reference.

TECHNICAL FIELD

Certain embodiments of this disclosure relate generally to a system withone or more motor drives and, more specifically, to controlling a systemwith one or more motor drives using pulse width modulation (PWM).

BACKGROUND

HVAC and or refrigeration systems may supply power to one or more motordrives of a system using a power supply. Analog power supplies, such aslinear power supplies, cause waste heat during operation by carryingcurrent regardless of the required power of the system. Digital powersupplies provide efficient power supply by using pulse-width modulation(PWM) to quickly switch on and off power, in order to provide thedesired power at the one or more motor drives of the system.Unfortunately, existing PWM methods may cause significant mechanicalvibrations in components driven by the one or more motor drives of thesystem, which may be detrimental to the system.

SUMMARY OF THE DISCLOSURE

According to one embodiment, a system includes an electronic powerconverter and a controller. The electronic power converter suppliespower to one or more components of a HVAC and/or refrigeration system.The controller obtains a plurality of pulse width modulation (PWM)algorithms. Each PWM algorithm has an associated harmonic signature. Thecontroller further determines one or more resonance frequenciesassociated with the HVAC and/or refrigeration system. The controlleralso selects a first PWM algorithm from the plurality of PWM algorithmsbased at least in part on the harmonic signature associated with thefirst PWM algorithm mitigating the one or more resonance frequenciesassociated with the HVAC and/or refrigeration system. The controllerfurther operates the electronic power converter according to the firstPWM algorithm.

According to another embodiment, a method includes obtaining a pluralityof pulse width modulation (PWM) algorithms. Each PWM algorithm has anassociated harmonic signature. The method further includes determiningone or more resonance frequencies associated with a HVAC and/orrefrigeration system. The method further includes selecting a first PWMalgorithm from the plurality of PWM algorithms based at least in part onthe harmonic signature associated with the first PWM algorithmmitigating the one or more resonance frequencies associated with theHVAC and/or refrigeration system. The method further includes operatingan electronic power converter operable to supply power to one or morecomponents of the HVAC and/or refrigeration system according to thefirst PWM algorithm.

According to yet another embodiment, a non-transitory computer readablemedium includes instructions. The instructions, when executed by acomputer, cause the computer to obtain a plurality of pulse widthmodulation (PWM) algorithms. Each PWM algorithm has an associatedharmonic signature. The instructions further cause the computer todetermine one or more resonance frequencies associated with a HVACand/or refrigeration system. The instructions further cause the computerto select a first PWM algorithm from the plurality of PWM algorithmsbased at least in part on the harmonic signature associated with thefirst PWM algorithm mitigating the one or more resonance frequenciesassociated with the HVAC and/or refrigeration system. The instructionsfurther cause the computer to operate an electronic power converteroperable to supply power to one or more components of the HVAC and/orrefrigeration system according to the first PWM algorithm.

Certain embodiments may provide one or more technical advantages. Forexample, certain embodiments allow the adjustment of the PWM algorithmused to supply power to the HVAC and/or refrigeration system to reducemechanical vibrations. For example, the PWM algorithm may be adjusted orreplaced with another PWM algorithm that mitigates the determinedresonance frequencies associated with the HVAC and/or refrigerationsystem. In this manner, a PWM algorithm may be selected that avoidshaving component frequencies that are harmonics of the one or moreresonance frequencies associated with the HVAC and/or refrigerationsystem. As another example, certain embodiments allow for thedetermination and comparison of levels of vibration to select areplacement PWM algorithm. For example, the amount of vibration thatwould result from using different PWM algorithms may be determined andthen compared to choose the optimal PWM algorithm. As yet anotheradvantage, in certain embodiments, an optimal PWM algorithm may beselected out of a plurality of PWM algorithms by comparing the one ormore resonance frequencies associated with the HVAC and/or refrigerationsystem to the harmonic signatures of each of the PWM algorithms. In thismanner, an optimal PWM algorithm may be selected during operation of theHVAC and/or refrigeration system. Depending on the embodiment, theoptimal PWM algorithm may produce the least amount of mechanicalvibration or may produce a sufficiently low amount of mechanicalvibration (e.g., based on a threshold, based on being a member of asubset of N algorithms with the lowest mechanical vibrations, etc.).Certain embodiments may include none, some, or all of the abovetechnical advantages. One or more other technical advantages may bereadily apparent to one skilled in the art from the figures,descriptions, and claims included herein.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure, referenceis now made to the following description, taken in conjunction with theaccompanying drawings, in which:

FIG. 1A illustrates an example vibration resonance plot over frequencyfor a mechanical assembly of a component of a HVAC and/or refrigerationsystem;

FIGS. 1B and 1C illustrate example frequency spectrum plots of thevoltage supplied by a first PWM algorithm and a second PWM algorithm;

FIG. 2 illustrates an example system used for controlling theenvironment of a space;

FIG. 3 illustrates an example controller used in the system of FIG. 2 ;and

FIG. 4 is a flowchart illustrating a method of operating the examplesystem of FIG. 2 .

DETAILED DESCRIPTION

Embodiments of the present disclosure and its advantages are bestunderstood by referring to FIGS. 1 through 4 of the drawings, likenumerals being used for like and corresponding parts of the variousdrawings.

HVAC and/or refrigeration systems and other systems using one or moremotor drives typically use digital power supplies as a more efficientsolution for providing power to various components of the system. Forexample, a digital power supply may supply current to one or more motordrive driving compressors, fans, coolers or other components in a HVACand/or refrigeration system. Digital power supplies use pulse widthmodulation (PWM), which modulates the voltage provided to variouscomponents a series of on and off pulses. These pulses, when viewed inaggregate, may deliver the desired input voltage and power at thepowered components of the HVAC and/or refrigeration system. For example,certain pulse width modulation techniques may provide varying voltageand power, such as sinusoidal current wave forms, or may provideconstant supplies of power for certain periods of time.

The switching caused by a PWM algorithm may inject particularfrequencies to the power supplied to one or more components of the HVACand/or refrigeration system. For example, in response to the powersupplied by the PWM algorithm, a motor drive driving a compressor mayrespond with torque which resonates with the one or more frequenciesinjected by the PWM algorithm. If these frequencies overlap with theresonance frequencies of the mechanical assemblies of the components ofthe HVAC and/or refrigeration system, the mechanical assemblies mayvibrate, causing noise and damage to the mechanical assemblies and/orthe HVAC and/or refrigeration system. Existing PWM methods do notaccount for the potential mechanical vibrations caused by resonance withcomponent frequencies in the PWM algorithms and fail to provide any typeof adjustment to avoid or reduce these vibrations. Instead, existingsolutions may include providing dampening material to the mechanicalassemblies, which, in turn, increases material costs and may reduceefficiency. Other existing solutions may include manually changing thePWM algorithm when an operator notices excessive noise or vibration. Notonly does this require manual input, but also independent detection,which may happen only by accident or after damage has occurred.

In certain embodiments, systems and methods may provide the ability tooperate a power convertor supplying power to a HVAC and/or refrigerationsystem according to a PWM algorithm that mitigates the one or moreresonance frequencies associated with the HVAC and/or refrigerationsystem. For example, the power converter may use a PWM algorithm thatminimizes the overlap between the injected frequencies by the PWMalgorithm and the resonance frequencies of the mechanical assemblies ofthe powered components of the HVAC and/or refrigeration system.

As an example, FIG. 1A depicts a plot of the vibration of a mechanicalassembly over a frequency of injected current. For example, a mechanicalassembly may have certain resonance frequencies depicted as peaks inFIG. 1A. Power delivered at those frequencies may cause more mechanicalvibration than power at frequencies distant from those peaks. In thismanner, what is desired is to provide a PWM algorithm that does notinject frequencies that overlap with the peaks or resonance frequenciesassociated with the HVAC and/or refrigeration system.

Power delivered using PWM algorithms may inject a spectrum offrequencies. Each PWM algorithm may have a different spectrum offrequencies that are injected into the power delivered to the one ormore components of the HVAC and/or refrigeration system. As twoexamples, FIG. 1B depicts an example frequency spectrum plot of a firstPWM algorithm and FIG. 1C depicts an example frequency spectrum plot ofa second PWM algorithm. As shown in FIGS. 1B and 1C, different PWMalgorithms may have similar or different frequency spectra. For example,the plots of the first PWM algorithm and the second PWM algorithm inFIGS. 1B and 1C demonstrate different frequency peaks at differentmagnitudes.

Based on the examples using FIGS. 1A-1C, a comparison between the plotsin FIG. 1A and FIGS. 1B and 1C illustrate that there can be overlapbetween the peaks of the vibration and the magnitude found in certainPWM algorithms. For example, the frequency spectrum of the first PWMalgorithm in FIG. 1B has two peaks that match the peaks of FIG. 1A. Asdiscussed above, these resonance frequencies, if injected using thefirst PWM algorithm, may cause mechanical vibration that may bedetrimental to the HVAC and/or refrigeration system. In comparison, thefrequency spectrum of the second PWM algorithm in FIG. 1C does not showany overlapping peaks at the those frequencies. In this manner, thesecond PWM algorithm may mitigate better and be a better algorithm withwhich to operate this HVAC and/or refrigeration system since it mayresult less mechanical vibration in the assemblies of components of theHVAC and/or refrigeration system.

Existing systems are unable to make such determinations and adjust thePWM algorithm to reduce the mechanical vibration. Disclosed herein arecertain embodiments of systems and methods that overcome this problem byproviding the ability to control the PWM algorithm to reduce mechanicalvibration. In certain embodiments, a controller may be interfaced withvarious components of the HVAC and/or refrigeration system such that theprovided power or current may be sampled at a sufficient rate to analyzethe frequency spectrum of the supplied power to a particular component.In some embodiments, one or more resonance frequencies of the HVACand/or refrigeration system may be determined before installation or, inaddition, during the operation of the HVAC and/or refrigeration system.In this manner, certain embodiments disclosed herein may have theability to adjust the PWM algorithm to reduce the amount of mechanicalvibration at any stage in the HVAC and/or refrigeration system’s lifecycle.

In certain embodiments, vibration reduction may be facilitated bysampling motor variables at a fast enough rate to calculate the causesof vibration, e.g., torque, and performing a fast Fourier transform(FFT) to obtain a frequency spectrum of the measured variables. In thismanner, the fast Fourier transform spectrum may provide any modal peaksat certain frequencies to be avoided. Once determining these resonancefrequencies, an optimal or most mitigating PWM algorithm may bedetermined. Continued monitoring of the motor variables may allow forthe PWM algorithm to be adjusted at different times during operation ofthe HVAC and/or refrigeration system to minimize the mechanicalvibrations.

FIG. 2 illustrates an example system 100 used for refrigerating,conditioning, ventilating or otherwise controlling the environment of aspace. System 100 may include a power converter 105, a HVAC and/orrefrigeration system 110 and a controller 115. Power converter 105, incertain embodiments, may supply power to one or more components of HVACand/or refrigeration system 110. For example, electronic power converter105 may be an electric power converter which sends pulses according to apulse width modulation algorithm to one or more motor drives of HVACand/or refrigeration system 110 in order to supply power to the one ormore motor drives driving one or more components of HVAC and/orrefrigeration system 110.

Controller 115 may be coupled to power converter 105 and one or moremotor drives of HVAC and/or refrigeration system 110. Controller 115 maycontrol the operation of power converter 105 and/or one or more motordrives of HVAC and/or refrigeration system 110. In certain embodiments,controller 115 may determine which PWM algorithm power converter 105uses to supply power to one or more motor drives of HVAC and/orrefrigeration system 110. In certain embodiments, controller 115 mayreceive information regarding the state of one or more motor drives ofHVAC and/or refrigeration system 110 to determine a PWM algorithm thatmitigates the mechanical vibration. Further aspects of certainembodiments of controller 115 may be described below in the descriptionof FIG. 3 .

Examples of HVAC and/or refrigeration system 110 include a system forrefrigerating a space (such as a refrigerator or freezer case, e.g. in agrocery store) and a system for conditioning a space (such as an HVACsystem). HVAC and/or refrigeration system 110 may be any suitable systemthat is used to control the environment of a space. HVAC and/orrefrigeration system 110 may include a variety of components includingfans, compressors, condensers, evaporators, alone or in any suitablecombination thereof. Certain components of HVAC and/or refrigerationsystem 110 may have mechanical assemblies, such as housings andconnected components to the one or more motor drives driving thecomponents of HVAC and/or refrigeration system 110. These mechanicalassemblies may vibrate during operation of the components. For example,the motor drive driving a compressor or a fan may cause their respectivemechanical assembly to vibrate if the torque of the motor drive exceedsa certain value or resonates at a certain frequency. These mechanicalassembly vibrations may be caused by the input power into the one ormore motor drives of HVAC and/or refrigeration system 110. For example,the frequencies of the power supplied to one or more of these motordrives may cause mechanical vibrations through a resonance in the one ormore motor drives of HVAC and/or refrigeration system 110. Since powerconverter 105 may supply power to HVAC and/or refrigeration system 110using a PWM algorithm, the frequencies associated with the PWMalgorithms may cause the mechanical vibration within one or more motordrives and components of HVAC and/or refrigeration system 110. Byadjusting the PWM algorithm the mechanical vibrations may be reduced.

FIG. 3 depicts controller 115 of system 100. Controller 115 may includea memory 205, processing circuitry 210 and one or more interfaces 215.One or more interfaces 215 receive input (e.g., sensor data or systemdata), sends output (e.g., instructions), processes the input and/oroutput, and/or performs other suitable operation. One or more interfaces215 may comprise hardware and/or software. As an example, one or moreinterfaces 215 receives information (e.g., voltage or current supplied)about one or more components, such as the motor drives, of HVAC and/orrefrigeration system 110 (e.g., via sensors).

Memory (or memory unit) 205 stores information. As an example, memory205 may store method 400. Memory 205 may comprise one or morenon-transitory, tangible, computer-readable, and/or computer-executablestorage media. Examples of memory 205 include computer memory (forexample, Random Access Memory (RAM) or Read Only Memory (ROM)), massstorage media (for example, a hard disk), removable storage media (forexample, a Compact Disk (CD) or a Digital Video Disk (DVD)), databaseand/or network storage (for example, a server), and/or othercomputer-readable medium.

Processing circuitry 210 may include any suitable combination ofhardware and software implemented in one or more modules to executeinstructions and manipulate data to perform some or all of the describedfunctions of controller 115. In some embodiments, processing circuitry210 may include, for example, one or more computers, one or more centralprocessing units (CPUs), one or more microprocessors, one or moreapplications, one or more application specific integrated circuits(ASICs), one or more field programmable gate arrays (FPGAs), and/orother logic.

As shown in FIGS. 1 , controller 115 may be communicatively coupled topower converter 115 and HVAC and/or refrigeration system 110. Controller115 may be communicatively coupled to one or more motor drives or othercomponents of HVAC and/or refrigeration system 110. In certainembodiments, controller 115 may obtain a plurality of pulse widthmodulation algorithms. For example, a plurality of PWM algorithms may bestored in memory 205 or may be communicated to controller 115 throughone or more interfaces 215 from one or more of power converter 105 andHVAC and/or refrigeration system 110, or in some embodimentscommunicated over a network to controller 115 from outside of system100. For example, an operator or an automatic process may causecontroller 115 to receive additional or replacement PWM algorithms.

Each PWM algorithm may have an associated harmonic signature. Forexample, as depicted in FIGS. 1B and 1C, the harmonic signature mayinclude a frequency spectrum representing the frequency components ofthe PWM algorithm. For example, the frequency spectrum may represent afast Fourier transform of the PWM algorithm of a sample period. Theseharmonic signatures may be used to characterize each PWM algorithm. EachPWM algorithm may each have its own harmonic signature with differentfrequency spectra.

In certain embodiments, controller 115 may determine one or moreresonance frequencies associated with the HVAC and/or refrigerationsystem. For example, in certain embodiments controller 115 throughinterface 215 may sample a torque of a motor drive driving components ofHVAC and/or refrigeration system 110. Using the sampled torque data, afast Fourier transform may be performed to determine any modal peaks offrequency in the motor drive of HVAC and/or refrigeration system 110.Other methods of determining resonance frequencies associated with HVACand/or refrigeration system 110 may be used. For example, resonancefrequencies may be determined at the time of manufacturing. In othercases, resonance frequencies may be measured by directly measuringvibrations of the mechanical assemblies of one or more motor drives orcomponents of HVAC and/or refrigeration systems. If the vibrationresulting from input power at a particular frequency exceeds a thresholdor some other criteria, then that particular frequency may be aresonance frequency.

In certain embodiments, controller 115 may select a first PWM algorithmfrom the plurality of PWM algorithms. For example, in certainembodiments, controller 115 may first select a random PWM algorithm forpower converter 105 to operate with. In certain embodiments, controller115 may select a PWM algorithm based on the harmonic signatureassociated with that PWM algorithm mitigating the one or more resonancefrequencies associated with the HVAC and/or refrigeration system 110. Asone example, compatibility between the first PWM algorithm and the oneor more resonance frequencies may be determined based on an overlap ofthe harmonic signature and the one or more resonance frequenciesassociated with the HVAC and/or refrigeration system. For example,referencing FIG. 1A and FIGS. 1B and 1C, controller 115 may select thesecond PWM algorithm shown in FIG. 1C because the harmonic signature hasless overlap with the modal peaks shown in FIG. 1A.

Various techniques and methods may be used to determine thecompatibility with the one or more resonance frequencies associated withthe HVAC and/or refrigeration system. For example, the first PWMalgorithm may be determined to mitigate the one or more resonancefrequencies based on a probability that the first PWM algorithm wouldmaintain mechanical vibrations below a predetermined threshold. Inanother example, the first PWM algorithm may mitigate the one or moreresonance frequencies based on the overlap between modal peaks of themechanical assemblies and the harmonic signature being less than apredetermined threshold. A variety of statistical analyses may be usedto calculate the overlap, which may be predictive of the mechanicalvibrations resulting from using a particular PWM algorithm.

As another example, the first PWM algorithm may be determined tomitigate the one or more resonance frequencies if it is within a subsetof N algorithms expected to cause the lowest amount of mechanicalvibrations (such as a subset comprising the best 10%, 20%, or 30% of PWMalgorithms). Additional factors may be used in the selection of themitigating PWM algorithm, such as the power efficiency of the PWMalgorithm and/or the ability to meet the current demands placed on HVACand/or refrigeration system 110.

In addition, the compatibility for a particular PWM algorithm may changeover time as mechanical assemblies age or may be determined by theoperational state of the HVAC and/or refrigeration system 110. Forexample, the one or more resonance frequencies associated with HVACand/or refrigeration system 110 may shift or change as components ofHVAC and/or refrigeration system 110 age or are replaced.

After selecting the first PWM algorithm, controller 115 may operatepower converter 105 using the selected PWM algorithm. In certainembodiments, controller 115 may determine a first amount of vibrationassociated with operating the HVAC and/or refrigeration system accordingto the first PWM algorithm. For example, power converter 105 may operateusing a first PWM algorithm and controller 115 may sample various valuesof one or more motor drives driving components of HVAC and/orrefrigeration system 110 to determine a first amount of vibrationassociated with operating the HVAC and/or refrigeration system 110according to that first PWM algorithm. For example, controller 115 mayobtain sampled torque data from one or more motor drives or componentsof HVAC and/or refrigeration system 110 that may be used to determinethe amount of vibration in a component of HVAC and/or refrigerationsystem 110. In certain embodiments, controller 115 may receiveinformation about vibration indirectly through other components ormonitoring equipment. For example, system 100 may include monitoringequipment which uses sensors or other sampling tools to determine theamount of mechanical vibration, which is then communicated to controller115.

Controller 115, in certain embodiments, may also determine a secondamount of vibration associated with operating HVAC and/or refrigerationsystem 110 according to a second PWM algorithm. In some embodiments,controller 115 may operate power converter 110 according to the secondPWM algorithm and determine the second amount of vibration as discussedpreviously. In other embodiments, controller 115 may estimate the secondamount of vibration using a second PWM algorithm based on thecompatibility of the second PWM algorithm and the measured frequencyresponse of one or more motor drives of HVAC and/or refrigeration system110. For example, controller 115 may be operable to determine theoverlap of any resonance frequencies and the second PWM algorithmfrequency components to determine compatibility, if the second PWMalgorithm will result in less vibration, controller 115 may cause powerconverter 105 to operate according to the second PWM algorithm.

In certain embodiments, the plurality of PWM algorithms available tocontroller 115 and power converter 105 may be a set of space vectorsequence selection algorithms. Space vector sequence selectionalgorithms may be advantageous compared to other PWM implementations.For example, such algorithms may provide better fundamental outputvoltage, a reduction of switching frequency, and lower current ripple.In addition, space vector sequence selection algorithms may achievesimilar results to other PWM algorithms, but may executed in in lesstime. Furthermore, such algorithms may be simpler than other algorithmsand have an easier direct hardware implementation using a digital signalprocessor. Persons having skill in the art will recognize the othervarious advantages of using space vector sequence selection algorithms.In certain embodiments, the plurality of PWM algorithms may includealgorithms that are not in the set of space vector sequence selectionalgorithms. For example, the plurality of PWM algorithms available tocontroller 115 may include a mixed set of PWM algorithms including Spacevector sequence selection algorithms and delta, delta-sigma, directtorque control, and/or time-proportioning algorithms.

In certain embodiments, HVAC and/or refrigeration system 110 includesone or more motor drives driving components that include a mechanicalassembly. A mechanical assembly may be a mechanical assembly of a fan,compressor, a condenser, an evaporator, or other component used toenvironmentally control a space. Mechanical assemblies of the componentsof HVAC and/or refrigeration system 110 may vibrate due to the inputpower, such as the resulting current generated by the potential suppliedto the one or more motors by power converter 105. For example, themechanical assembly of a compressor may vibrate based on the torque ofthe driving motor of the compressor which may move with certainfrequencies based on the input frequencies of the line voltage frompower converter 105.

Controller 115 may, in certain embodiments, measure one or moreresonance frequencies of HVAC and/or refrigeration system 110 and selecta PWM algorithm for power converter 105 during operation of system 100.For example, controller 115 may determine certain resonance frequenciesduring operation of system 100 and adjust PWM algorithm based on theoperational status and/or current mode of operation of system 100. Inthis manner, PWM algorithms may be adjusted according to currentconditions of HVAC and/or refrigeration system and not just conditionswhen first installed or using predetermined values.

In certain embodiments, controller 115 may compare one or more resonancefrequencies associated with HVAC and/or refrigeration system 110 to theassociated harmonic signature of each of the plurality of PWM algorithmsavailable to controller 115. For example, controller 115 may sample orreceive one or more resonance frequencies of HVAC and/or refrigerationsystem 110. Using those resonance frequencies, controller 115 may searchthrough all the available PWM algorithms to determine a best, i.e., amost mitigating, PWM algorithm. For example, controller 115 may select aPWM algorithm that is most mitigating with the one or more resonancefrequencies of HVAC and/or refrigeration system 110 that minimizes themechanical vibration. Controller 115 may then cause power converter 105to operate using the most mitigating PWM algorithm.

As discussed before in certain embodiments, the one or more resonancefrequencies of HVAC and/or refrigeration system 110 may be based onsampled current values in the one or more motor drives drivingcomponents of HVAC and/or refrigeration system 110. For example, thesampled current values may represent the torque in the associated motordrives. This torque may translate into mechanical vibration. Limitingthis torque may reduce the amount of mechanical vibrations in one ormore components of HVAC and/or refrigeration system 110. In addition,the torque may have certain modal peaks which represents a higherresponse to particular frequencies. In this manner, one or moreresonance frequencies may be determined using one or more modal peaksdetermine using the current and/or torque associated with the current.

In certain embodiments, the one or more resonance frequencies associatedwith HVAC and/or refrigeration system 110 may be predetermined values.For example, certain components may have predetermined values ofresonance that may be communicated to controller 115 during installationof the various components. For example, well known components may havewell established responses to various currents and torque responses tocertain frequencies of current supplied to power the various components.However, in certain embodiments, one or more resonance frequencies maynot be predetermined values. For example, mechanical assemblies ofcomponents may have different vibrational responses throughout theirlifetime. As certain components become looser or rusted the frequencyvibration response may change over time. In this manner, the one or moreresonance frequencies associated with HVAC and/or refrigeration system110 may change over time and may not be predetermined values. However,in certain cases during and shortly after the first installation,predetermined values may be useful in determining the PWM algorithm tobest serve the various components of HVAC and/or refrigeration system110.

FIG. 4 is a flowchart illustrating a method 400 of operating system 100of FIG. 2 . In particular embodiments, various components of system 100perform the steps and method 400.

Method 400 may begin at step 405. At step 405, controller 115 obtains aplurality of pulse width modulation algorithms. For example, controller115 may obtain a plurality of PWM algorithms from memory 205 or mayreceive through one or more interfaces 215 from other components ofsystem 100 or through a network connected to other systems whichcommunicate a plurality or one or more PWM algorithms to controller 115.

After obtaining a plurality of PWM algorithms, in step 410, one or moreresonance frequencies of the HVAC and/or refrigeration system 110 may bedetermined. For example, controller 115 may receive informationregarding HVAC and/or refrigeration system 110 with which one or moreresonance frequencies may be deduced. For example, using sampled currentand/or torque calculations, certain resonance frequencies may bedetermined. For example, the calculated torque response to a current PWMswitching algorithm may present certain modal frequencies whichrepresent the resonance frequencies of certain mechanical assembliesthat may vibrate.

At step 415, a first PWM algorithm from the plurality of PWM algorithmsis selected. The first PWM algorithm may be selected based on at leaston the resonance frequencies associated with HVAC and/or refrigerationsystem 110 determined in step 410. For example, a first PWM algorithmmay be selected because it is the most mitigating of the one or moreresonance frequencies. In certain embodiments, the selected PWMalgorithm may be the PWM algorithm of the plurality of algorithms thathas the smallest amount of frequency components of harmonics overlappingwith of the one or more resonance frequencies associated with HVACand/or refrigeration system 110.

At step 420, an electronic power converter may be operated according tothe first PWM algorithm selected in step 415. In this manner, powerconverter 105 may provide current based on the switching on and offaccording to the first PWM algorithm. By operating the power converter105 using the selected PWM algorithm, the mechanical vibrations in oneor more components of HVAC and/or refrigeration system 110 may bereduced.

In certain embodiments, method 400 may comprise additional steps. Forexample, FIG. 4 depicts optional steps depicted in dash boxes. Forexample, method 400 may include an optional step 425. At step 425, afirst amount of vibration associated with operating the HVAC and/orrefrigeration system 110 according to the first PWM algorithm isdetermined. For example, during operation of system 100 the amount ofvibration in mechanical assemblies of certain components of HVAC and/orrefrigeration system 110 may be determined. In certain embodiments,controller 115 may determine such amount of vibration. In otherembodiments, other components of system 100 or coupled to system 100 maydetermine the amount of vibration. For example, a monitoring system orother sensing or calculating systems may be used to determine the amountof vibration. As one example, controller 115 may obtain sampledinformation regarding the torque in certain motor drives drivingcomponents of HVAC and/or refrigeration system 110 and determine theamount of vibration.

In the depicted example of the flowchart on FIG. 4 , method 400 maycontinue along one of two optional paths after step 425. System 100 mayoperate according to method 400 according to either or both of theseoptional paths at different times during operation of HVAC and/orrefrigeration system 110. In the right path, method 400 may optionallyproceed to step 426 during which the first amount of vibration iscompared to a vibration threshold. For example, a vibrational set pointmay be provided such that the determined first amount of vibration maybe compared to the vibrational set point. For example, if the vibrationexceeds a certain amount either in the amount of vibration, the amountof sound generated or other criteria indicating a certain level ofvibration, those values may be compared to a set point or another valuedetermined by system 100. If the first amount of vibration is greaterthan a vibration threshold, method 400 may move to optional step 428. Ifthe first amount is not greater than the vibration threshold, e.g., theamount of vibration is below the vibrational set point, method 400 mayproceed back to step 420 and continue to operate power converter 105according to the first algorithm.

At optional step 428, the electronic power converter may be controlledaccording to a second PWM algorithm. For example, controller 115 afterdetermining that the first amount of vibration is greater than thevibrational threshold may select a second PWM algorithm to replace thefirst PWM algorithm. In this manner, controller 115 may control powerconverter 105 using the second PWM algorithm. In certain embodiments,controller 115 may choose a second PWM algorithm such that the vibrationis reduced in one or more components of HVAC and/or refrigeration system110. It may do this by comparing the harmonic signature of the availablePWM algorithms and compare that with the determined resonancefrequencies of certain frequencies of HVAC and/or refrigeration system110. In certain embodiments, controller 115 or other components mayupdate the PWM algorithm and data used to determine the PWM algorithm onan ongoing basis such that PWM algorithms may be updated duringoperation and the life cycle of system 100. In other embodiments, thesecond PWM algorithm may be chosen randomly.

In the left path, method 400 may move from optional step 425 to optionalstep 427. At step 427, a second amount of vibration associated withoperating the HVAC and/or refrigeration system according to a second PWMalgorithm is determined. For example, controller 115 may compare theharmonic signature of a second PWM algorithm to the one or moreresonance frequencies of HVAC and/or refrigeration system 110. Forexample, in certain embodiments, controller 115 may scan all availablePWM algorithms and compare it to the one or more resonance frequenciesof HVAC and/or refrigeration system 110. In this manner, controller 115may select the best, or the most mitigating, second PMW algorithm tominimize the mechanical vibration of the mechanical assemblies of one ormore components of HVAC and/or refrigeration system 110.

If the second amount of vibration is less than the first amount ofvibration, method 400 may move to optional step 429. If the secondamount of vibration is not less than the first amount of vibration,method 400 may move to step 420 and continue to operate power converter105 according to the first PWM algorithm since the second PWM algorithmwould not reduce the amount of vibration in HVAC and/or refrigerationsystem 110.

In the case where the second amount of vibration is less than the firstamount of vibration, method 400 may move to step 429 wherein powerconverter 105 may be controlled by controller 115 according to thesecond PWM algorithm. For example, in this manner a second PWM algorithmwhich reduces the amount of vibration may be used for the switchingalgorithm for power converter 105. In this manner, the amount ofvibration in HVAC and/or refrigeration system 110 may be reduced.

The various control loops may be continuously run throughout thelifetime and the operation of system 100. In certain embodiments, thecontrol loops may be run only in select circumstances, e.g., whenvibration exceeds a threshold. Different criteria may be used indifferent circumstances. For example, during different operationalstates of system 100, different control loops may be used. For instance,the right path of FIG. 4 may be used when in an idle mode and the leftpath may be used when in an active mode.

Modifications, additions, or omissions may be made to method 400depicted in FIG. 4 . Method 400 may include more, fewer, or other steps.For example, steps may be performed in parallel or in any suitableorder. While discussed as various components of system 100 performingthe steps, any suitable component or combination of components of system100 may perform one or more steps of the method.

Although the present disclosure includes several embodiments, a myriadof changes, variations, alterations, transformations, and modificationsmay be suggested to one skilled in the art, and it is intended that thepresent disclosure encompass such changes, variations, alterations,transformations, and modifications as fall within the scope of theappended claims.

What is claimed is:
 1. A system, comprising: a heating ventilation andair conditioning (HVAC) system; an electronic power converter configuredto supply power to one or more motor drives of the HVAC system; and acontroller communicatively coupled to the HVAC system and the electronicpower converter, the controller configured to: obtain a plurality ofpulse width modulation (PWM) algorithms, each PWM algorithm having anassociated spectrum of frequencies; determine one or more resonancefrequencies associated with the HVAC system; select a first PWMalgorithm from the plurality of PWM algorithms, wherein the spectrum offrequencies of the first PWM algorithm lacks frequency peaks thatoverlap with the one or more resonance frequencies associated with theHVAC system; and operate the electronic power converter operable tosupply power to the one or more motor drives of the HVAC systemaccording to the first PWM algorithm.
 2. The system of claim 1, whereinthe controller is further configured to: determine a first amount ofvibration associated with operating the HVAC system according to thefirst PWM algorithm; determine a second amount of vibration associatedwith operating the HVAC system according to a second PWM algorithm ofthe plurality of PWM algorithms; and control the electronic powerconverter according to the second PWM algorithm in response to adetermination that the second amount of vibration is less than the firstamount of vibration.
 3. The system of claim 1, wherein the controller isfurther configured to: determine a first amount of vibration associatedwith operating the HVAC system according to the first PWM algorithm;compare the determined first amount of vibration to a vibrationthreshold; and based on the comparison, control the electronic powerconverter according to a second PWM algorithm of the plurality of PWMalgorithms.
 4. The system of claim 1, wherein the one or more motorsdrives drive one or more of a fan, a condenser, and a compressor, eachcomprising a mechanical assembly.
 5. The system of claim 1, wherein thecontroller is further configured to measure the one or more resonancefrequencies associated with the HVAC system and select the first PWMalgorithm during operation of the HVAC system.
 6. The system claim 1,wherein selecting a first PWM algorithm comprises: comparing the one ormore resonance frequencies associated with the HVAC system to theassociated spectrum of frequencies of each of the plurality of PWMalgorithms; and based on the comparisons, selecting the PWM algorithmthat most mitigates the one or more resonance frequencies associatedwith the HVAC system as the first PWM algorithm.
 7. The system of claim1, wherein determining the one or more resonance frequencies associatedwith the HVAC system comprises: obtaining current values in the one ormore motor drives of the HVAC system; based on the obtained currentvalues, calculating torque in the one or more motors drives of the HVACsystem; and detecting one or more modal peaks in the calculated torque.8. The system of claim 1, wherein the one or more resonance frequenciesassociated with the HVAC system are predetermined values associated withone or more components of the HVAC system.
 9. A system, comprising: aheating ventilation and air conditioning (HVAC) system; an electronicpower converter configured to supply power to one or more motor drivesof the HVAC system; and a controller communicatively coupled to the HVACsystem and the electronic power converter, the controller configured to:obtain a plurality of pulse width modulation (PWM) algorithms, each PWMalgorithm having an associated spectrum of frequencies; determine one ormore resonance frequencies associated with an HVAC system; select afirst PWM algorithm from the plurality of PWM algorithms, wherein thespectrum of frequencies of the first PWM algorithm lacks frequency peaksthat overlap with the one or more resonance frequencies associated withthe HVAC system; and operate an electronic power converter operable tosupply power to the one or more motor drives of the HVAC systemaccording to the first PWM algorithm; wherein selecting a first PWMalgorithm comprises: comparing the one or more resonance frequenciesassociated with the HVAC system to the associated spectrum offrequencies of each of the plurality of PWM algorithms; based on thecomparisons, selecting the PWM algorithm that most mitigates the one ormore resonance frequencies associated with the HVAC system as the firstPWM algorithm; and the one or more resonance frequencies associated withthe HVAC system are predetermined values associated with one or morecomponents of the HVAC system.
 10. The system of claim 9, wherein thecontroller is further configured to: determine a first amount ofvibration associated with operating the HVAC system according to thefirst PWM algorithm; determine a second amount of vibration associatedwith operating the HVAC system according to a second PWM algorithm ofthe plurality of PWM algorithms; and control the electronic powerconverter according to the second PWM algorithm in response to adetermination that the second amount of vibration is less than the firstamount of vibration.
 11. The system of claim 9, wherein the controlleris further configured to: determine a first amount of vibrationassociated with operating the HVAC system according to the first PWMalgorithm; compare the determined first amount of vibration to avibration threshold; and based on the comparison, control the electronicpower converter according to a second PWM algorithm of the plurality ofPWM algorithms.
 12. The system of claim 9, wherein the one or moremotors drives drive one or more of a fan, a condenser, and a compressor,each comprising a mechanical assembly.
 13. The system of claim 9,wherein the controller is further configured to measure the one or moreresonance frequencies associated with the HVAC system and select thefirst PWM algorithm during operation of the HVAC system.
 14. The systemof claim 9, wherein determining the one or more resonance frequenciesassociated with the HVAC system comprises: obtaining current values inthe one or more motor drives of the HVAC system; based on the obtainedcurrent values, calculating torque in the one or more motors drives ofthe HVAC system; and detecting one or more modal peaks in the calculatedtorque.
 15. A system, comprising: a heating ventilation and airconditioning (HVAC) system; an electronic power converter configured tosupply power to one or more motor drives of the HVAC system; and acontroller communicatively coupled to the HVAC system and the electronicpower converter, the controller configured to: obtain a plurality ofpulse width modulation (PWM) algorithms, each PWM algorithm having anassociated spectrum of frequencies; determine one or more resonancefrequencies associated with an HVAC system; select a first PWM algorithmfrom the plurality of PWM algorithms, wherein the spectrum offrequencies of the first PWM algorithm lacks frequency peaks thatoverlap with the one or more resonance frequencies associated with theHVAC system; and operate an electronic power converter operable tosupply power to the one or more motor drives of the HVAC systemaccording to the first PWM algorithm; wherein determining the one ormore resonance frequencies associated with the HVAC system comprises:obtaining current values in the one or more motor drives of the HVACsystem; based on the obtained current values, calculating torque in theone or more motors drives of the HVAC system; detecting one or moremodal peaks in the calculated torque; and the one or more resonancefrequencies associated with the HVAC system are predetermined valuesassociated with one or more components of the HVAC system.
 16. Thesystem of claim 15, wherein the controller is further configured to:determine a first amount of vibration associated with operating the HVACsystem according to the first PWM algorithm; determine a second amountof vibration associated with operating the HVAC system according to asecond PWM algorithm of the plurality of PWM algorithms; and control theelectronic power converter according to the second PWM algorithm inresponse to a determination that the second amount of vibration is lessthan the first amount of vibration.
 17. The system of claim 15, whereinthe controller is further configured to: determine a first amount ofvibration associated with operating the HVAC system according to thefirst PWM algorithm; compare the determined first amount of vibration toa vibration threshold; and based on the comparison, control theelectronic power converter according to a second PWM algorithm of theplurality of PWM algorithms.
 18. The system of claim 15, wherein the oneor more motors drives drive one or more of a fan, a condenser, and acompressor, each comprising a mechanical assembly.
 19. The system ofclaim 15, wherein the controller is further configured to measure theone or more resonance frequencies associated with the HVAC system andselect the first PWM algorithm during operation of the HVAC system. 20.The system claim 15, wherein selecting a first PWM algorithm comprises:comparing the one or more resonance frequencies associated with the HVACsystem to the associated harmonic signature of each of the plurality ofPWM algorithms; and based on the comparisons, selecting the PWMalgorithm that most mitigates the one or more resonance frequenciesassociated with the HVAC system as the first PWM algorithm.